package com.remote.server.service.impl;

import com.remote.common.Equipment;
import com.remote.server.mapper.EquipmentMapper;
import com.remote.server.service.EquipmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EquipmentServiceImpl implements EquipmentService {

    @Autowired
    private EquipmentMapper equipmentMapper;

    @Override
    public List<Equipment> equipmentList(Equipment equipment) {
        return equipmentMapper.equipmentList(equipment);
    }

    @Override
    public void LocksDevice(Equipment equipment) {
        equipmentMapper.LocksDevice(equipment);
    }

}
